<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>


<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="follow, index" />
<meta name="author" content="iune co." />
<meta name="description"
	content="IUNE有最好的库存管理SaaS软件。以更快更高的准确度，跟进实时数据的访问和库存移动。" />
<meta name="keywords"
	content="库存, 存货管理, 库存管理, 仓库管理, 云ERP, 云逸ERP, 中小型企业云ERP, SaaS ERP软件/系统" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>


<style type="text/css">
td {
	padding: 0px;
	width: 100px;
}
</style>

</head>
<body>




	<div class="row">

		<div class="col-sm-12">

	<h1>
												<button type="button" class="btn btn-default "
													data-ng-click="goBack()">
													<span class="glyphicon glyphicon-arrow-left"></span> 返回
												</button>
		单据设置<small>建立应用模块下的单据清单，包含单据的预设参数。</small>
	</h1>
	<hr>
<pre>{{Model.params.systemName}}【{{Model.params.appName}}】</pre>

			<div class="table-responsive">
				<table class="table table-hover">
					<thead>
						<tr>
							<th colspan="99">
								<div>
									<nav class="nav">
										<ul class="pagination navbar-left" style="margin: 0px;">
											<li>
															<button type="button" class="btn btn-info "
																data-ng-click="Model.add()">
																<span class="glyphicon glyphicon-plus"></span> 新建
															</button>
															<button type="button" class="btn btn-default"
																data-ng-disabled="dataBillSetting.currentIndex==null"
																data-ng-click="Model.edit(dataBillSetting.rows[dataBillSetting.getCurrentIndex()])">
																<span class="glyphicon glyphicon-edit"></span> 修改
															</button>
															<button type="button" class="btn btn-default"
																data-ng-disabled="dataBillSetting.currentIndex==null"
																data-ng-click="Model.remove(dataBillSetting.rows[dataBillSetting.getCurrentIndex()])"
																data-test="testvalue">
																<span class="glyphicon glyphicon-trash"></span> 删除
															</button>
															<button type="button" class="btn btn-default"
																data-ng-click="Model.refresh()">
																<span class="glyphicon glyphicon-refresh"></span> 刷新
															</button>
															<button type="button" class="btn btn-default"
																data-ng-click="Model.queryData($event)"
																data-test="testvalue">
																<span class="glyphicon glyphicon-search"></span> 查询
															</button>
											</li>
										</ul>

										<ul class="pagination navbar-right" style="margin: 0px;">
											<li>
												<div class="input-group">
													<input type="text" class="form-control" id="iptSearch"
														placeholder="搜索..." data-ng-model="dataBillSetting.search"
														data-ng-keydown="dataBillSetting.searchEnter($event)"> <span
														class="input-group-btn">
														<button class="btn btn-default" type="button"
															data-ng-click="dataBillSetting.refreshData()"
															data-ng-show="(dataBillSetting.search!=null && dataBillSetting.search!='')">
															<span class="glyphicon glyphicon-search"></span>
														</button>
														<button class="btn btn-default" type="button"
															data-ng-click="dataBillSetting.search=null;"
															data-ng-show="(dataBillSetting.search!=null && dataBillSetting.search!='')">
															<span class="glyphicon glyphicon-remove"></span>
														</button>
													</span>
												</div> <!-- /input-group -->

											</li>
										</ul>

									</nav>


								</div>

							</th>
						</tr>

						<tr>
							<th></th>
							<th>行</th>
							<th hidden="true">状态</th>
							<th hidden="true">fID</th>
							<th>代码</th>
							<th>名称</th>
							<th>前缀</th>
							<th>编码类型</th>
							<th>编码类型</th>
							<th hidden="true">版本</th>
							<th>管理</th>
							<th>appId</th>
							<th>appName</th>
						</tr>
					</thead>
					
					<tbody>
						<tr data-ng-show="row.userdata.recordState!='delete'"
							data-ng-class="{true:'active'}[dataBillSetting.currentIndex==dataBillSetting.rows.indexOf(row)]"
							data-ng-click="dataBillSetting.onRowClick(row,$event)"
							data-ng-dblclick="dataBillSetting.onRowDblclick(row,$event)" 
							data-ng-repeat="row in dataBillSetting.rows">
							<td style="width: 10px;"><span
								data-ng-show="dataBillSetting.currentIndex==$index"
								class="glyphicon glyphicon-hand-right" aria-hidden="true"></span></td>
							<td style="width: 10px;">{{$index+1}}</td>
							<td style="width: 10px;" hidden="true"
								data-ng-bind="row.userdata.recordState"></td>

							<td style="width: 200px;" hidden="true">{{row.fID.value}}</td>
							<td style="width: 100px;">{{row.billType.value}}</td>
							<td style="width: 200px;">{{row.billTypeName.value}}</td>
							<td style="width: 100px;">{{row.preChar.value}}</td>
							<td style="width: 100px;">{{row.codeType.value}}</td>
							<td style="width: 100px;">{{row.codeTypeLabel.value}}</td>
							
							<td style="width: 50px;" hidden="true" align="center">{{row.version.value}}</td>
							<td>
								<%-- <a href="javascript:;" class="del" ref="${row.id }">删除用户</a> --%>

								<a href="" title="修改" data-ng-click="Model.edit(row)">
								<span class="glyphicon glyphicon-edit" aria-hidden="true"></span>
								</a>
								<a href="" title="删除" data-ng-click="Model.remove(row)">
								<span class="glyphicon glyphicon-trash" aria-hidden="true"></span>
								</a>
							</td>
							

							<td style="width: 100px;" ng-bind="row.appId.value"></td>
							<td style="width: 100px;" ng-bind="row.appName.value"></td>
							
						</tr>

					</tbody>

					<tfoot>
						<tr>
							<th colspan="99">
										<div class="">

											<nav class="nav">

												<ul class="pagination navbar-left form-inline"
													style="margin: 0px;">

													<li>
															<select class="input-sm"
																data-ng-options="o.id as o.name for o in dataBillSetting.pageSizes"
																data-ng-model="dataBillSetting.limit"
																data-ng-change="dataBillSetting.limitChanged()">
																<!-- 
													  <option value=5 selected="selected">5行</option>
													  <option value=10>10行</option>
													  <option value=20>20行</option>
													  <option value=30>30行</option>
													  <option value=40>40行</option>
													  <option value=50>50行</option>
													   -->
															</select>

													</li>
												</ul>

												<ul class="pagination pagination-sm navbar-right"
													data-ng-show="dataBillSetting.totalPage>1"
													style="margin: 0px;">

													<li
														data-ng-class="{true:'disabled'}[dataBillSetting.currentPage==1] ">
														<a href="javascript:void(0)"
														data-ng-click="dataBillSetting.firstPage()">首页</a>
													</li>
													<li
														data-ng-class="{true:'disabled'}[dataBillSetting.currentPage==1]">
														<a href="javascript:void(0);"
														data-ng-click="dataBillSetting.prevPage()">上一页</a>
													</li>

													<li data-ng-repeat="page in dataBillSetting.pages"
														data-ng-class="{true:'active'}[dataBillSetting.currentPage==page]">
														<a href="javascript:void(0);"
														data-ng-click="dataBillSetting.loadPageData(page)"> {{page}} </a>
													</li>

													<li
														data-ng-class="{true:'disabled'}[dataBillSetting.currentPage==dataBillSetting.totalPage]">
														<a href="javascript:void(0);"
														data-ng-click="dataBillSetting.nextPage()">下一页</a>
													</li>
													<li
														data-ng-class="{true:'disabled'}[dataBillSetting.currentPage==dataBillSetting.totalPage]">
														<a href="javascript:void(0)"
														data-ng-click="dataBillSetting.currentPage=dataBillSetting.totalPage;dataBillSetting.lastPage()">末页</a>
													</li>

												</ul>
											</nav>

										</div>

							</th>
						</tr>
					</tfoot>

				</table>
			</div>



		</div>

	</div>







</body>

</html>

